package com.ycy.chuwenuniapp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("user")
public class User {
    @ApiModelProperty("唯一标识")
    private String id;

    @ApiModelProperty("微信用户唯一标识")
    private String openId;

    @ApiModelProperty("用户名称")
    private String name;

    @ApiModelProperty("是否管理员")
    private Integer isAdmin;

    @ApiModelProperty("头像地址")
    private String avatarUrl;

    @ApiModelProperty("创建时间")
    private String createTime;
}
